<?php
/* Smarty version 3.1.30-dev/18, created on 2016-01-13 19:45:41
  from "E:\PHP\APMServ5.2.6\www\htdocs\sql\wengdo_smarty\wengdo\templates\index.tpl" */

if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.30-dev/18',
  'unifunc' => 'content_569638e5140fc7_76216448',
  'file_dependency' => 
  array (
    '4ebf98d3688ccdc30b62eb80ef07316622c5a928' => 
    array (
      0 => 'E:\\PHP\\APMServ5.2.6\\www\\htdocs\\sql\\wengdo_smarty\\wengdo\\templates\\index.tpl',
      1 => 1452574572,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:user_center_header.tpl' => 1,
    'file:footer.tpl' => 1,
  ),
),false)) {
function content_569638e5140fc7_76216448 ($_smarty_tpl) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文豆集团-IT服务企业</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>index</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <link rel="stylesheet" href="css/Common.css">
    <link rel="stylesheet" href="css/index.css">
    <link href="css/slide.css" rel="stylesheet">
    <link rel="stylesheet" href="css/change.css" type="text/css"/>
    <?php echo '<script'; ?>
 type="text/javascript" src="js/jquery-1.11.3.js"><?php echo '</script'; ?>
>
    <style>
        .clear {
            clear: both;
        }
    </style>
</head>
<body>
<div class="container">
    <?php if (!isset($_smarty_tpl->tpl_vars['userid']->value)) {
$_smarty_tpl->_subTemplateRender("file:header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
} else {
$_smarty_tpl->_subTemplateRender("file:user_center_header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
}?>
    <div id="pic1" class="pic" style="margin:0 auto;">
        <ul id="slideName1" class="sildebar clearfix">
            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['slide']->value, 'item');
foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$__foreach_item_0_saved = $_smarty_tpl->tpl_vars['item'];
?>
            <li><a href=""><img src="<?php echo $_smarty_tpl->tpl_vars['slide_src']->value;
echo $_smarty_tpl->tpl_vars['item']->value['src'];?>
" alt="fsd" width="1440px"></a></li>
            <?php
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_0_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
        </ul>
        <a href="javascript:void(0)" class="btn-focus prev">上一张</a>
        <a href="javascript:void(0)" class="btn-focus next">下一张</a>
    </div>
    <div class="main">
        <div class="service">
            <ul>
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['service']->value, 'item');
foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$__foreach_item_1_saved = $_smarty_tpl->tpl_vars['item'];
?>
                <li>
                    <a href="">
                        <img class="case_icon1" src="<?php echo $_smarty_tpl->tpl_vars['web_url']->value;
echo $_smarty_tpl->tpl_vars['item']->value['icon'];?>
" alt="">
                        <img class="case_icon2" src="<?php echo $_smarty_tpl->tpl_vars['web_url']->value;
echo $_smarty_tpl->tpl_vars['item']->value['icon_on'];?>
" alt="">
                        <?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>

                    </a>
                </li>
                <?php
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_1_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
            </ul>
            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['service']->value, 'item');
foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$__foreach_item_2_saved = $_smarty_tpl->tpl_vars['item'];
?>
            <div class="service_news">
                <h2><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</h2>

                <p class="service_p1"><span><?php echo $_smarty_tpl->tpl_vars['item']->value['keyword'];?>
</span></p>

                <p class="service_p2"><?php echo $_smarty_tpl->tpl_vars['item']->value['intro'];?>
</p>
            </div>
            <?php
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_2_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
        </div>
        <div class="news">
            <div id="tabs">
                <h3><a href="news.php">新闻资讯</a></h3>

                <div><a class="more" href="news.php">more</a></div>
            </div>
            <div class="clear"></div>
            <ul id="tabs-html1">
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['news']->value, 'item');
foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$__foreach_item_3_saved = $_smarty_tpl->tpl_vars['item'];
?>
                <li>
                    <a href="news_defail.php?newsid=<?php echo $_smarty_tpl->tpl_vars['item']->value['newsid'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a>
                    <span>2015-12-25</span>
                </li>
                <?php
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_3_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
            </ul>
        </div>
        <div class="clear"></div>
        <div class="cases">
            <img class="cases_title" src="../images/index_case_title.gif" alt="">
            <a class="more" href="cases.php">more</a>

            <div class="clear"></div>
            <div id="wrapper">
                <div id="carousel">
                    <ul>
                        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['cases']->value, 'item');
foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$__foreach_item_4_saved = $_smarty_tpl->tpl_vars['item'];
?>
                        <li>
                            <img src="<?php echo $_smarty_tpl->tpl_vars['cases_thumb']->value;
echo $_smarty_tpl->tpl_vars['item']->value['thumb'];?>
" alt=""/>
                            <a href="cases_defail.php?caseid=<?php echo $_smarty_tpl->tpl_vars['item']->value['caseid'];?>
">
                                <div><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</div>
                            </a>
                        </li>
                        <?php
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_4_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
                    </ul>
                    <div class="clearfix"></div>
                    <a id="prev" class="prev" href="#"></a>
                    <a id="next" class="next" href="#"></a>
                </div>
            </div>
        </div>
    </div>
    <div class="clear"></div>
    <div class="about_bg">
        <div class="about">
            <ul>
                <li class="about_li01">
                    <h3><?php echo $_smarty_tpl->tpl_vars['why']->value['title'];?>
</h3>
                    <?php echo $_smarty_tpl->tpl_vars['why']->value['content'];?>

                </li>
                <li class="about_li02">
                    <h3><?php echo $_smarty_tpl->tpl_vars['service_type']->value['title'];?>
</h3>
                    <?php echo $_smarty_tpl->tpl_vars['service_type']->value['content'];?>

                </li>
                <li class="about_li03">
                    <h3><span>联系我们</span></h3>
                    <a href=""><img src="../images/about_03.gif" alt=""></a>

                    <p><span>广州：400-889-7654</span></p>

                    <p><span>深圳：0755-66691037</span></p>
                </li>
            </ul>
        </div>
    </div>
    <?php $_smarty_tpl->_subTemplateRender("file:footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

</div>
</body>
</html>

<?php echo '<script'; ?>
 src="js/indexHover.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="js/jquery-1.8.1.min.js" type="text/javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="js/slide.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="js/jquery-1.8.2.min.js" type="text/javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="js/jquery.carouFredSel-6.0.4-packed.js" type="text/javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript">
    $(function () {
        $('#carousel ul').carouFredSel({    //案例轮转图
            prev: '#prev',
            next: '#next',
            //pagination: "#pager",
            scroll: 800
        });
        $('#carousel ul').mouseover(function () {
            $('#carousel ul').carouFredSel({
                prev: '#prev',
                next: '#next',
                //pagination: "#pager",
                scroll: 0
            });
            $(this).mouseout(function () {
                $('#carousel ul').carouFredSel({
                    prev: '#prev',
                    next: '#next',
                    //pagination: "#pager",
                    scroll: 800
                });
            });
        });

        //$("#carousel ul li").append("<div >天晓得</div>");
        $("#carousel ul li div").css({
            "opacity": "0.3",
            "background": "#000",
            "color": "#fff",
            "font-size": "16px",
            "width": "362px",
            "height": "248px",
            "line-height": "248px",
            "text-align": "center",
            "position": "absolute",
            "left": "0",
            "bottom": "-258px"
        });
        $("#carousel ul li img").mouseover(function () {
            $(this).parent().find("div").animate({bottom:'-10px'}, 500);
            $(this).parent().find("div").mouseout(function () {
                $(this).animate({bottom:'-258px'}, 30);
            });
        });

        //cases
        $(".service ul li").each(function (index) {
            $(".service div").eq(0).show();
            $(this).mouseover(function () {
                $(".service div").hide();
                $(".service div").eq(index).show();
                $(".service ul li .case_icon1").eq(index).hide();
                $(".service ul li .case_icon2").eq(index).show();
            });
            $(this).mouseout(function () {
                $(".service ul li .case_icon2").eq(index).hide();
                $(".service ul li .case_icon1").eq(index).show();
            });
        });
    });
<?php echo '</script'; ?>
>

<?php }
}
